<template>
  <div>
    <h2>商品相关信息</h2>
    <div>
      <div>
        商品id: <strong>{{ goods.goodInfo.goodNo }}</strong>
      </div>
      <div>
        商品名称: <strong>{{ goods.goodInfo.goodName }}</strong>
      </div>
      <div>
        商品描述:
        <slot
          name="desc"
          :desc="goods.goodInfo.desc"
          :type="goods.goodInfo.type"
        ></slot>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    goods: {
      type: Object,
      default: function () {
        return {}
      },
    },
  },
}
</script>

<style></style>
